package com.cqd.mapper;

import com.cqd.entity.Stu;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

public interface StuMapper extends PagingAndSortingRepository<Stu,Long> {
    public List<Stu> findByNameLike(String name);

    public List<Stu> findByAgeIsGreaterThan(Integer age);
}
